/* ZXT框架 */

zxt={};

function importZXT( ZXT_ROOT ){	
	window.ZXT_ROOT = ZXT_ROOT;	
	importCSS(ZXT_ROOT + "/css/zxt.css");
	importCSS(ZXT_ROOT + "/lib/jquery/css/jquery.combobox.css");	
	importLib(ZXT_ROOT + "/js/zxt.all.js");
	importLib(ZXT_ROOT + "/lib/jquery/jquery.bgiframe.pack.js");	
	
};	

/**
 * @private
 * @param {Object} libraryName
 */
importLib = function(libraryName) {   
    document.write('<script type="text/javascript" src="'+libraryName+'"></script>');
};
/**
 * @private
 * @param {Object} cssName
 */
importCSS = function(cssName) {   
    document.write('<link href="' + cssName + '" rel="stylesheet" type="text/css"/>');
};